

.wrapper>.main-body{
  margin-top: 132px; 
  /* 106是header的高度 */
  /* opacity: .5; */
}

.main-body>.banner-carousel{
  width: 1000px;
  height: 490px;
  position: relative;
  overflow: hidden;
}

.main-body>.banner-carousel ul.banner-img{
  position:absolute;
  left:0;
}

.main-body>.banner-carousel ul.banner-img li{
  float:left;
  width:1000px;
}

/* 轮播竖边条 */
.main-body>.banner-carousel .edging{
  height: 476px;
  width: 130px;
  position: absolute;
  z-index: 1;
  top: 0;
  line-height: 476px;
  text-align: center;
}

.main-body>.banner-carousel .right-edging{
  right: 0;
}

/* 鼠标经过竖边条 */
.main-body>.banner-carousel .left-edging:hover .arr-left{
  background-color: rgba(0, 0, 0,.4);
}

.main-body>.banner-carousel .right-edging:hover .arr-right{
  background-color: rgba(0, 0, 0,.4);
}

.main-body>.banner-carousel .edging .arr-slide{
  border-radius: 50%;
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px
}

/* 轮播指示器 */
.main-body>.banner-carousel>ul.indicators{
  margin: 486px auto 0;
  display: flex;
  justify-content: center;
}

.main-body>.banner-carousel>ul.indicators li{
  width: 20px;
  height: 4px;
  background-color: #e8e8e8;
  margin:0 3px;
  cursor: pointer;
}

.main-body>.banner-carousel>ul.indicators .active{
  background-color: #45494D;
}

/* 五个广告 */
section.article5{
  margin: 30px 0;
  display: grid;
  width: 1000px;
  overflow: hidden;
  grid-gap: 22px;
  /* border: 1px solid blue; */
  grid-template-rows:[r1] 190px [r2] 190px [r3];
  grid-template-columns: [c1] 318px [c2] 318px [c3] 318px [c4];
}

section.article5>div{
  width: 318px;
  /* height: 190px; */
  background: lightblue;
}

section.article5>div.artic-big{
  grid-area: r1/c2/r3/c3;
}

/* 人气良品 */
.middle-panel{
  height: 18px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  margin-bottom: 38px;
}

ul.hot-wares{
  display: flex;
  /* border: 1px solid red; */
  flex-flow: row wrap;
  justify-content: space-between;
}

/* 弹性项目li */
ul.hot-wares>li{
  width: 318px;
  /* height: 366px; */
  /* border: 1px solid blue; */
  margin-bottom: 30px;
}

/* 主图和商品信息 */

ul.hot-wares>li> a.ware-link{
  position: relative;
  display: block;
  width: 318px;
  height: 318px;
  /* border: 1px solid red; */
}

ul.hot-wares>li> a.ware-link>img{
  width: 318px;
  height: 318px;
}

ul.hot-wares>li> a.ware-link>.mask{
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  padding: 15px;
  width: 318px;
  height: 318px;
  opacity: 0;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

ul.hot-wares>li> a.ware-link>.mask:hover{
  opacity: 1;
}

ul.hot-wares>li> a.ware-link>.mask p.price{
    color: #0c6eba;
    margin-top: 4px;
    font-size: 20px;
    font-style: italic;
    font-weight: bold;
}

ul.hot-wares>li> a.ware-link>.mask p.title{
  margin: 80px auto 5px;
  text-align: center;
  color: #fff;
  width: 85%;
  height: 25px;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
}

ul.hot-wares>li> a.ware-link>.mask p.subtitle{
  width: 85%;
  margin: 0px auto;
  height: 60px;
  line-height: 20px;
  color: #fff;
  font-weight: 100;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 品牌和桃心 */
ul.hot-wares>li>.brand-heart{
  margin-top: 8px;
  height: 34px;
  line-height:34px; 
  font-size: 14px;
}

ul.hot-wares>li>.brand-heart a{
  color: #878787;
}  

ul.hot-wares>li>.brand-heart>a:first-child>img{
  width: 34px;
  height: 34px;
  margin-right: 10px;
  box-shadow: 2px 2px 0px #F5F5F5;
}

ul.hot-wares>li>.brand-heart a:last-child{
  float: right;
}

ul.hot-wares>li>.brand-heart a:last-child span{
  margin-right: 10px;
}
